﻿<div id="panel5" class="container">
    <update-meta property="og:title" content="Penang Realty世界地產 Legal Fee Calculator" />
    <update-meta property="og:url" content="http://www.penangrealty.my/LawyerFee" />
    <h3> <u> Legal Fee </u></h3>
    <div class="alert alert-warning" ng-show="warning">
        <button type="button" class="close" ng-click="close()" aria-hidden="true">&times;</button>
        <ul ng-repeat="msg in warning">
            <li class="glyphicon glyphicon-warning-sign">{{msg.msg}}</li>
        </ul>
    </div>
    <div class="alert alert-danger" ng-show="error">
        <button type="button" class="close" ng-click="close()" aria-hidden="true">&times;</button>
        <span class="glyphicon glyphicon-ban-circle"></span>
        <span>{{error}}</span>
    </div>

    <div class="alert alert-info" ng-show="info">
        <button type="button" class="close" ng-click="close()" aria-hidden="true">&times;</button>
        <span class="glyphicon glyphicon-ban-circle"></span>
        <span>{{info}}</span>
    </div>
    <div class="form-group">
        <table class="table table-condensed table-responsive borderless">
            <tbody>
                <tr>
                    <td class="col-sm-2">
                        <label>Property Price (RM)</label>
                    </td>
                    <td class="col-sm-10">
                        <input id="txtPropertyPrie" type="number" placeholder="Property Price" class="form-control" ng-model="propertyPrice" tabindex="6" style="width: 100%" />
                    </td>
                </tr>
                <tr style="border-top-style:solid">
                    <td class="col-sm-2">
                        <label>S&P Legal Fee (RM) :</label>
                    </td>
                    <td class="col-sm-10">
                        {{snpLegalfee}}
                    </td>
                </tr>
                <tr>
                    <td class="col-sm-2">
                        <label>S&P Stamp Duty (RM) :</label>
                    </td>
                    <td class="col-sm-10">
                        {{snpStampDuty}}
                    </td>
                </tr>
                <tr style="border-bottom:solid">
                    <td class="col-sm-2" style="">
                        <label><b>Total (RM) :</b></label>
                    </td>
                    <td class="col-sm-10">
                        <b> {{snpTotal}}</b>
                    </td>
                </tr>
                <tr style="border-top-style:solid">
                    <td class="col-sm-2">
                        <label>Loan Legal Fee (RM) :</label>
                    </td>
                    <td class="col-sm-10">
                        {{loanLegal}}
                    </td>
                </tr>
                <tr>
                    <td class="col-sm-2">
                        <label>Loan Stamp Duty (RM):</label>
                    </td>
                    <td class="col-sm-10">
                        {{loanStampDuty}}
                    </td>
                </tr>
                <tr style="border-bottom:solid">
                    <td class="col-sm-2" style="">
                        <label><b>Total (RM) :</b></label>
                    </td>
                    <td class="col-sm-10">
                        <b>   {{loanTotal}}</b>
                    </td>
                </tr>
                <tr style="border-bottom:double">
                    <td class="col-sm-2" style="color:red">
                        <label><b>Total (RM) :</b></label>
                    </td>
                    <td class="col-sm-10" style="color:red">
                        <b>{{total}}</b>
                    </td>
                </tr>
                <tr>

                    <td colspan="2">
                        <button id="btnCalculate" type="button" class="btn waves-effect waves-light subscribe-submit" ng-click="calculate()">Calculate</button>
                    </td>
                    
                </tr>
            </tbody>
        </table>
    </div>
